LL COMP APIs listing for migration ¶
This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.
LL COMP constants ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_COMP_BLANKINGSRC_TIM3_OC3_COMP5 |
g4 |
LL_COMP_BLANKINGSRC_TIM3_OC3 |
|
LL_COMP_BLANKINGSRC_TIM3_OC3_COMP7 |
g4 |
LL_COMP_BLANKINGSRC_TIM3_OC3 |
|
LL_COMP_BLANKINGSRC_TIM3_OC4_COMP4 |
g4 |
LL_COMP_BLANKINGSRC_TIM3_OC4 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP1 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP2 |
g4, l4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP3 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP4 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP5 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP6 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM3_OC3_COMP3 |
g4 |
LL_COMP_BLANKINGSRC_TIM3_OC3 |
|
LL_COMP_BLANKINGSRC_TIM8_OC5_COMP7 |
g4 |
LL_COMP_BLANKINGSRC_TIM8_OC5 |
|
LL_COMP_BLANKINGSRC_TIM15_OC2_COMP6 |
g4 |
LL_COMP_BLANKINGSRC_TIM15_OC2 |
|
LL_COMP_BLANKINGSRC_TIM15_OC2_COMP7 |
g4 |
LL_COMP_BLANKINGSRC_TIM15_OC2 |
|
LL_COMP_WINDOWMODE_ENABLE |
l4 |
LL_COMP_WINDOW_INPUT_PLUS_ODD |
|
LL_COMP_INVERTINGINPUT_1_4VREFINT |
l4 |
LL_COMP_INPUT_MINUS_1_4VREFINT |
|
LL_COMP_INVERTINGINPUT_1_2VREFINT |
l4 |
LL_COMP_INPUT_MINUS_1_2VREFINT |
|
LL_COMP_BLANKINGSRC_TIM15_OC1_COMP4 |
g4 |
LL_COMP_BLANKINGSRC_TIM15_OC1 |
|
LL_COMP_INVERTINGINPUT_3_4VREFINT |
l4 |
LL_COMP_INPUT_MINUS_3_4VREFINT |
|
LL_COMP_BLANKINGSRC_TIM3_OC3_COMP2 |
g4 |
LL_COMP_BLANKINGSRC_TIM3_OC3 |
|
LL_COMP_BLANKINGSRC_TIM2_OC4_COMP6 |
g4 |
LL_COMP_BLANKINGSRC_TIM2_OC4 |
|
LL_COMP_BLANKINGSRC_TIM3_OC3_COMP1 |
g4, l4 |
LL_COMP_BLANKINGSRC_TIM3_OC3 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP1 |
g4, l4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP3 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP4 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP5 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP6 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP7 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_BLANKINGSRC_TIM2_OC3_COMP1 |
g4, l4 |
LL_COMP_BLANKINGSRC_TIM2_OC3 |
|
LL_COMP_BLANKINGSRC_TIM2_OC3_COMP2 |
g4 |
LL_COMP_BLANKINGSRC_TIM2_OC3 |
|
LL_COMP_BLANKINGSRC_TIM2_OC3_COMP5 |
g4 |
LL_COMP_BLANKINGSRC_TIM2_OC3 |
|
LL_COMP_BLANKINGSRC_TIM2_OC4_COMP3 |
g4 |
LL_COMP_BLANKINGSRC_TIM2_OC4 |
|
LL_COMP_BLANKINGSRC_TIM1_OC5_COMP2 |
g4 |
LL_COMP_BLANKINGSRC_TIM1_OC5 |
|
LL_COMP_INVERTINGINPUT_VREFINT |
l4 |
LL_COMP_INPUT_MINUS_VREFINT |
|
LL_COMP_INVERTINGINPUT_DAC1 |
l4 |
LL_COMP_INPUT_MINUS_DAC1 |
|
LL_COMP_INVERTINGINPUT_DAC2 |
l4 |
LL_COMP_INPUT_MINUS_DAC1 |
|
LL_COMP_INVERTINGINPUT_IO1 |
l4 |
LL_COMP_INPUT_MINUS_IO1 |
|
LL_COMP_INVERTINGINPUT_IO2 |
l4 |
LL_COMP_INPUT_MINUS_IO2 |
|
LL_COMP_INVERTINGINPUT_IO3 |
l4 |
LL_COMP_INPUT_MINUS_IO3 |
|
LL_COMP_INVERTINGINPUT_IO4 |
l4 |
LL_COMP_INPUT_MINUS_IO4 |
|
LL_COMP_INVERTINGINPUT_IO5 |
l4 |
LL_COMP_INPUT_MINUS_IO5 |
|
LL_COMP_NONINVERTINGINPUT_IO1 |
l4 |
LL_COMP_INPUT_PLUS_IO1 |
|
LL_COMP_NONINVERTINGINPUT_IO2 |
l4 |
LL_COMP_INPUT_PLUS_IO2 |
|
LL_COMP_NONINVERTINGINPUT_IO3 |
l4 |
LL_COMP_INPUT_PLUS_IO3 |
|
LL_COMP_BLANKINGSRC_TIM3_OC4_COMP2 |
l4 |
LL_COMP_BLANKINGSRC_TIM3_OC4 |
|
LL_COMP_BLANKINGSRC_TIM15_OC1_COMP2 |
l4 |
LL_COMP_BLANKINGSRC_TIM15_OC1 |
|
LL_COMP_WINDOWOUTPUT_COMP3 |
g0 |
Not implemented yet in HAL2. |
|
LL_COMP_WINDOWOUTPUT_COMP2 |
u5, g0 |
LL_COMP_WINDOW_OUTPUT_XOR_EVEN |
|
LL_COMP_WINDOWOUTPUT_COMP1 |
u5, g0 |
LL_COMP_WINDOW_OUTPUT_XOR_ODD |
|
LL_COMP_WINDOWOUTPUT_BOTH |
u5, g0 |
LL_COMP_WINDOW_OUTPUT_XOR_BOTH |
|
LL_COMP_WINDOWMODE_COMP2_INPUT_PLUS_COMMON |
u5, g0 |
LL_COMP_WINDOW_INPUT_PLUS_EVEN |
|
LL_COMP_WINDOWOUTPUT_EACH_COMP |
u5, g0 |
LL_COMP_WINDOW_OUTPUT_INDEPT |
|
LL_COMP_WINDOWMODE_DISABLE |
u5, l4, h7, g0 |
LL_COMP_WINDOW_DISABLE |
|
LL_COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON |
u5, l4, h7, g0 |
LL_COMP_WINDOW_INPUT_PLUS_ODD |
|
LL_COMP_INPUT_MINUS_VBAT |
h7, h5 |
Not implemented yet in HAL2. |
|
LL_COMP_BLANKINGSRC_LPTIM1_OC2 |
h5 |
Not implemented yet in HAL2. |
|
LL_COMP_BLANKINGSRC_LPTIM2_OC2 |
h5 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PA6 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PA8 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PB12 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PE15 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PE6 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PG2 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PG3 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PG4 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PI1 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PI4 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_AF_PK2 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_INPUT_MINUS_TPSENS_DAC2CH1 |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_INPUT_MINUS_VBAT_VDDAP |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_INPUT_PLUS_DAC2_CH1 |
h7 |
Not implemented yet in HAL2. |
LL COMP macros ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_COMP_ReadReg |
u5, l4, h7, h5, g4, g0 |
LL_COMP_READ_REG |
|
LL_COMP_WriteReg |
u5, l4, h7, h5, g4, g0 |
LL_COMP_WRITE_REG |
|
__LL_COMP_COMMON_INSTANCE |
u5, l4, h7, g0 |
LL_COMP_COMMON_INSTANCE |
LL COMP structures ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_COMP_InitTypeDef |
u5, l4, h7, h5, g4, g0 |
LL COMP functions ¶
|
HAL1 |
series |
HAL2 |
|---|---|---|
|
LL_COMP_GetInputInverting |
l4 |
LL_COMP_GetInputMinus |
|
LL_COMP_Init |
u5, l4, h7, h5, g4, g0 |
|
|
LL_COMP_StructInit |
u5, l4, h7, h5, g4, g0 |
|
|
LL_COMP_DeInit |
u5, l4, h7, h5, g4, g0 |
|
|
LL_COMP_SetInputInverting |
l4 |
LL_COMP_SetInputMinus |
|
LL_COMP_GetInputNonInverting |
l4 |
LL_COMP_GetInputPlus |
|
LL_COMP_SetInputNonInverting |
l4 |
LL_COMP_SetInputPlus |
|
LL_COMP_GetOutputAlternateFunction |
h7 |
Not implemented yet in HAL2. |
|
LL_COMP_SetOutputAlternateFunction |
h7 |
Not implemented yet in HAL2. |